package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog gg=new Dog("金毛",1,"黄色的");
        gg.druik();
        gg.eat();
        gg.housekeeping();
        Chick jj=new Chick("大公鸡",1,"金色的");
        jj.druik();
        jj.eat();
        jj.layegg();
        Fish yy = new Fish("娃娃鱼", 1, "黑色");
        yy.druik();
        yy.eat();



    }
}
